package jpademo.controller;

import jpademo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/users")
public class userController {
    @Autowired
    private UserService userService;        
    @RequestMapping(value = "/one2manyDemo")	
	public void one2manyDemo() {
    	userService.one2manyDemo();
    }
}






